package com.azzcs.codeservice.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: wzg
 * @Date: 2021/2/22 下午4:08
 */
@FeignClient(value = "email-service",path = "/email-service")
public interface SendEmailService {
    @RequestMapping("/email/sendCreateCodeEmail/{email}/{code}")
    void sendCreateCodeEmail(@PathVariable("email") String email,
                             @PathVariable("code") String code);
}
